package repo

import (
	"album/model"
	"context"
)

type BaseCategory2Repo interface {
	FindByCategory2(ctx context.Context, category1Id int64) (category2s []*model.BaseCategory2, err error)
	FindByCategory2ByOrder(ctx context.Context, category1Id int64) (category2s []*model.BaseCategory2, err error)
	FindCategory2ById(ctx context.Context, id int64) (category2 *model.BaseCategory2, err error)
}
